package com.wanmait.baohan.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.baohan.pojo.BookingTicketApplication;
import com.wanmait.baohan.pojo.TravelApplication;

import java.util.List;

public interface BookingTicketApplicationService {
    Integer selectNode(Integer id);
    BookingTicketApplication findByTicket(BookingTicketApplication bookingTicketApplication);

    void submitTicketApplication(BookingTicketApplication bookingTicketApplication);

    PageInfo<BookingTicketApplication> selectMyTicketApplications(Integer page, Integer limit, BookingTicketApplication bookingTicketApplication);
    BookingTicketApplication findById(Integer id);

    PageInfo<BookingTicketApplication> findAllWithPageAndLimit(Integer page, Integer limit, BookingTicketApplication bookingTicketApplication);
    BookingTicketApplication selectByReId(Integer id);
    void updateByIdState(Integer id,Integer state);



}
